package com.wonder.app.service;

import cn.hutool.core.io.watch.WatchException;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wonder.app.domain.*;
import com.wonder.app.request.AgentManageRequest;
import com.wonder.app.request.PrdFeedRequest;

import com.wonder.app.vo.AgentManageVo;
import com.wonder.common.common.AjaxResult;

import java.util.List;
import java.util.Map;

public interface PrdFeedService extends IService<PrdFeed>{

    /**
     * 工序汇报分页
     * @param prdFeedRequest
     * @param page
     * @return
     */
    public  IPage<PrdFeed> selectList(PrdFeedRequest prdFeedRequest, Page<PrdFeed> page);
    /**
     * 详情Stkotherout
     * @param map
     * @return
     */
    Map<String, Object> getPrdFeedDetail(Map<String, Object> map);

    Boolean createFeedBill(Long userId, String userName, Map<String, Object> map) throws Exception;

    Boolean deleteFeedDetailTemp(String userName, Map<String, Object> map) throws Exception;

    String createFeedBillPackage(Long user_id, String userName, SfcOptrptPackage sfcOptrptPackage, String type) throws Exception;

    Boolean createFeedTemp(String userName, Map<String, Object> map)throws Exception;

//    Map<String, Object> getPrdFeedDetail(Map<String, Object> map);


}
